package basic5;

public class J05_51 {

	public static void main(String[] args) {

		for(int k=1; k<=9; ++k){
			System.out.print("\t"+k);
		}
		
		
		System.out.println("");
		System.out.println("---------------------------------------------------------------------------------");
	    for (int i=1; i<10; i++) {
	    
	    	System.out.print(i+"  |"+"\t");
	    	
	    	for(int j=1; j<=9; j++){
	    	
	    		
	    		System.out.print(i*j+"\t");
	    	
	    	}

	    	System.out.println("\t");
	    }
	}

}

